#import <UIKit/UIKit.h>

#import "framework/FWPlugin.h"
#import "framework/FWApplicationDelegate.h"
#import "framework/FWDBAccess.h"


@interface PIPlugin : FWPlugin <FWApplicationDelegate, FWDBAccessDelegate>

@property (nonatomic, retain) NSArray* contexts;
@property (nonatomic, retain) NSString* contextsString;


// Object management
- (void)dealloc;

// Toolbar buttons
- (void)toggleDetailsClicked;
- (void)disableContextsClicked;
- (void)locationContextClicked;
- (void)manualContextClicked;

// Callback when badge updated
- (void)badgeUpdate:(NSNotification*)notif;

@end
